#ifndef CINTELHEXLINE_H
#define CINTELHEXLINE_H

#include <QString>


class CIntelHexLine
{
public:
    CIntelHexLine();
    bool SetLine( QString i_line );

    unsigned char getType( void );
    unsigned short getAddr( void );
    unsigned char getDataSize( void );
    unsigned char *getData( void );

private:
    #define DATA_MAX_SIZE 128
    unsigned char data_size;
    unsigned short addr;
    unsigned char type;
    unsigned char data[DATA_MAX_SIZE];
};

#endif // CINTELHEXLINE_H
